import { reactive, ref } from "vue";

export default function InitHook() {
  const formState = reactive<Partial<MaterialIndex.AddForm>>({
    material: undefined,
    isShow: undefined,
    status: 1
  });
  const loading = ref<boolean>(false);
  const formDataRef = ref<any>(null);
  return {
    formState,
    formDataRef,
    loading
  };
}
